
package com.gao.service;

import com.gao.IService.IUserService;
import com.gao.entity.User;
import com.gao.mapper.UserMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService extends ServiceImpl<UserMapper, User> implements IUserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> selectAllWithRelations() {
        return userMapper.selectAllWithRelations();
    }
}

